<template>
  <div>
    <!-- <HeadView />   -->

    <router-view v-slot="{ Component }">
      <transition name="fade" mode="out-in">
        <component :is="Component" />
      </transition>
    </router-view>
  </div>
    
</template>
<script>

export default {
  data(){
    return{
      isShow:true
    }
  },
  watch:{
    '$route.name':function(val){
      if(val == 'index'){
        this.isShow = false
      }else{
        this.isShow = true
      }
    }
  }
}
</script>


<style lang="less" scoped>

</style>
